<br /><br />
<{if $mylinksshowlogo}>
<div align="center"><{$mylinkslogoimage}></div><br />
<{/if}>
<{if $mylinksshowsearch}>
<div align="center">
<form action="<{$xoops_url}>/search.php" method="get">
<input type="text" id="query" name="query" size="30" maxlength="255" value="" />
<select id="andor" name="andor" size="1">
<option value="AND" selected="selected"><{$lang_all}></option>
<option value="OR"><{$lang_any}></option>
<option value="exact"><{$lang_exact}></option>
</select>
<input type="hidden" name="mids[]" value="<{$module_id}>" />
<input type="hidden" id="action" name="action" value="results" />
<input type="submit" class="formButton" name="submit" id="submit" value="<{$lang_search}>" />
</form>
</div>
<br />
<{/if}>
<{if $catarray.toolbar}>
<div align="center"><{$catarray.toolbar}></div><br />
<{/if}>
<br />
<div align="right">
<a id="itemtop">
<a href="#itembottom"><img src="<{$mylinks_imgurl}>/bottom.gif" alt=""  /></a>
</div>
<!-- Start ranking loop -->
<{foreach name=mlloop item=ranking from=$rankings}>
<table class="outer">
  <tr>
    <th align="center"><{$ranking.title}> (<{$lang_sortby}>)</th>
    <th width="8%" align="center">
    <a href="javascript:mltoggleEffect('<{$mylinks_imgurl}>', 'resizemltop10block<{$smarty.foreach.mlloop.iteration}>', 'mlsizetop10image<{$smarty.foreach.mlloop.iteration}>')"><img id="mlsizetop10image<{$smarty.foreach.mlloop.iteration}>" src="<{$mylinks_imgurl}>/minimize.gif" alt="Click me if you want to minimize this block" /></a>
    </th>
  </tr>
  <tr><td colspan="2">
<div id="resizemltop10block<{$smarty.foreach.mlloop.iteration}>" style="display: block;">
<table width="100%">
  <tr>
    <td class="head" width='7%'><{$lang_rank}></td>
    <td class="head" width='28%'><{$lang_title}></td>
    <td class="head" width='40%'><{$lang_category}></td>
    <td class="head" width='8%' align='center'><{$lang_hits}></td>
    <td class="head" width='9%' align='center'><{$lang_rating}></td>
    <td class="head" width='8%' align='right'><{$lang_vote}></td>
  </tr>

  <!-- Start links loop -->
  <{foreach item=link from=$ranking.links}>

  <tr>
    <td class="even"><{$link.rank}></td>
    <td class="odd"><a href='singlelink.php?cid=<{$link.cid}>&amp;lid=<{$link.id}>'><{$link.title}></a></td>
    <td class="even"><{$link.category}></td>
    <td class="odd" align='center'><{$link.hits}></td>
    <td class="even" align='center'><{$link.rating}></td>
    <td class="odd" align='right'><{$link.votes}></td>
  </tr>

  <{/foreach}>
  <!-- End links loop-->
  </table>
 </td></tr>
</table>
<br />
<{/foreach}>
<!-- End ranking loop -->
<div align="right">
<a id="itembottom">
<a href="#itemtop"><img src="<{$mylinks_imgurl}>/top.gif" alt=""  /></a>
</div>